import {SOCKET_BADGE_DATA,TRIGGER_SOCKET_WATHCT_BADGE ,REMIDN_USER_SOCKET_BADGE, REMOVE_TABAR_BADGE} from '../store/mutation-types'
import state from '../store/index'
export const socketWachctBaDge = (data) => {
    state.commit(SOCKET_BADGE_DATA,data)
}
export const triggerSocketWacthDadge = () => {
    state.commit(TRIGGER_SOCKET_WATHCT_BADGE,Math.random() * 100)
}
export const remidnUserSocketBadge = (student_id) => {
    state.commit(REMIDN_USER_SOCKET_BADGE,student_id)
}
export const removeTabarbadge = (data) => {
    state.commit(REMOVE_TABAR_BADGE,data)
}
